package com.demo.app.service.impl;


import com.demo.app.service.SystemService;
import com.demo.common.config.GlobalConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

public class SystemServiceImpl implements SystemService {

  // 禁止new对象
  private GlobalConfig globalConfig;

  // 此方法禁止修改
  public String getConfig() {
    return globalConfig.toString();
  }
}
